package com.medata.conf_bean;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/*
 *@ClassName: RedisConfBean
 *@Description: TODO
 *@author: 郑波
 *@date: 2019-03-22 22:43
 *@version: 1.0
 */
@Configuration
@Data
@PropertySource("classpath:redis.properties")
@ConfigurationProperties(prefix = "redis")
public class RedisConfBean {
    private String host;
    private Integer port;
    private Integer expire;
    private Integer timeout;
}
